﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using IDAL;
using Models;

namespace BLL
{
    public class LinksInfoLogic
    {
        public static ILinksInfo linksinfo = new LinksInfoDAL();
        public static List<LinksInfo> GetTopFourLinksInfo()
        {
            List<LinksInfo> list = new List<LinksInfo>();
            list = linksinfo.GetTopFourLinksInfo();
            return list;
        }
        public static List<LinksInfo> GetLinksInfo()
        {
            return linksinfo.GetLinksInfo();
        }
        public static int UpdateLinksInfo(LinksInfo link)
        {
            return linksinfo.UpdateLinksInfo(link);
        }
        public static int InsertLinksInfo(LinksInfo link)
        {
            return linksinfo.InsertLinksInfo(link);
        }
        public static int DeleteLinksInfo(LinksInfo link)
        {
            return linksinfo.DeleteLinksInfo(link);
        }
    }
}
